package com.tledu.dao;

import com.tledu.model.Product;
import com.tledu.model.Work;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WorkDao {
    List<Work> list();

    int insert(Work work);

    int delete(String workId);

    int update(Work work);

    Work selectById(String workId);
}

